Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Decision Mathematics 1: 1.4 The planarity algorithm for planar graphs.

    Full specification wording

    Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.4 The planarity algorithm for planar graphs.

    A planar graph can be drawn on a flat sheet with no edges crossing, and the planarity algorithm tests whether a given graph can be redrawn this way.

    • Point 4 of 4

    Study notes

    From the teaching notes for this specification point.

    The idea

    A planar graph can be drawn on a flat sheet with no edges crossing, and the planarity algorithm tests whether a given graph can be redrawn this way. Start by removing a cycle that passes through every vertex (a Hamiltonian cycle) and lay its vertices around a circle in cycle order. Each remaining edge becomes a chord. Two chords conflict when their endpoints alternate around the circle, because then they cannot both be drawn inside or both outside without crossing. Build a conflict graph whose vertices are the chords and whose edges join conflicting pairs. The original graph is planar exactly when this conflict graph is bipartite: one part is drawn inside the cycle, the other outside. Test bipartiteness by two-colouring the conflict graph; an odd cycle of conflicts means the graph is non-planar.

    What earns the marks

    • Identifies a cycle through every vertex and arranges its vertices in cycle order around a circle before placing chords.
    • Forms the conflict graph by joining two chords exactly when their endpoints alternate around the cycle.
    • Tests bipartiteness of the conflict graph by attempting a two-colouring of its vertices.
    • Concludes planarity when the conflict graph is bipartite and non-planarity when an odd conflict cycle prevents a two-colouring.

    Common mistakes and how to put them right

    • Omits checking that the chosen cycle visits every vertex.

      Put it right: Select a Hamiltonian cycle so that all remaining edges are chords.

    • Joins two chords in the conflict graph when they merely share an endpoint.

      Put it right: Join them only when their endpoints alternate around the cycle.

    • Declares the graph planar without completing the two-colouring.

      Put it right: Finish the colouring and check for an odd conflict cycle before concluding.

    • Draws chords inside and outside at random without a consistent assignment.

      Put it right: Assign one colour to inside chords and the other to outside chords.

    Exam tips

    • State the cycle you have chosen and list the chords in order so the marker can follow your conflict graph.
    • Show the two-colouring explicitly on the conflict graph, labelling each chord with its colour.
    • If an odd cycle of conflicts appears, name its chords to justify the non-planar conclusion.

    Try the lesson

    The start of the Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.4 The planarity algorithm for planar graphs. lesson, made from teaching notes for this specification point.

    Have a go first

    A student is using the planarity algorithm to test a connected graph that has a Hamiltonian cycle. After finding the Hamiltonian cycle, the student draws it as a polygon. Why is this drawing used in the algorithm?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.4 The planarity algorithm for planar graphs.

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required